package service;

import entity.Commodity;

import java.util.List;

public interface CommodityService {
    List<Commodity> getAllCommodities();

    List<Commodity> getCommoditiesByType(String type);

    void addCommodity(Commodity commodity);

    List<String> getCommodityTypes();

    void deleteCommodityById(int id);

}
